package com.jm.springboot21.service;

import com.jm.springboot21.pojo.Student;

import java.util.List;

public interface StudentService {
    List<Student> findAll();
    void addStudent(Student student);
    //根据id查询员工
    Student findById(int id);
    List<Student> findByName(String studentName);

    void deleteById(int id);
    //    多选删除
    void deleteByIds(List<Integer> ids);
    void updateById(Student student);
    Integer count();
}
